cmake_minimum_required(VERSION 3.8)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY lib)
set(CMAKE_BUILD_TYPE Debug)
project(process_protocol)
project(test1)
project(test2)
add_library(process_protocol SHARED ./process_protocol.cpp)
add_executable(test1 test.cpp)
add_executable(test2 test2.cpp)
target_link_libraries(test1 process_protocol)
target_link_libraries(test2 process_protocol)